Efficient Enumeration of All Ladder Lotteries with k Bars
نویسندگان
چکیده
A ladder lottery, known as the “Amidakuji” in Japan, is a common way to choose an assignment randomly. Formally, a ladder lottery of a permutation π = (p1, p2, . . . , pn) is a network with n vertical lines (lines for short) and many horizontal lines (bars for short) as follows (see Fig. 1). The i-th line from the left is called line i. The top ends of the n lines correspond to π. The bottom ends of the n lines correspond to the identical permutation (1, 2, . . . , n). Each bar connects two consecutive lines. Each number pi in π starts at the top end of line i, and goes down along the line, then whenever pi comes to an end of a bar, pi goes horizontally along the bar to the other end, then goes down again. Finally pi reaches the bottom end of line pi. We can regard a bar as a modification of the “current” permutation. In a ladder lottery a sequence of such modifications always results in the identical permutation (1, 2, . . . , n). The ladder lotteries are strongly related to primitive sorting networks, which are deeply investigated by Knuth [2]. A comparator in a primitive sorting network replaces pi and pj by min (pi, pj) and max (pi, pj), while a bar in a ladder lottery always exchanges them. Given a permutation π = (p1, p2, . . . , pn) the minimum number of bars to construct ladder lotteries of π is equal to the number of “reverse pairs” in π, which are pairs (pi, pj) in π with pi > pj and i < j. A ladder lottery of π with the minimum number of bars is optimal. The ladder lottery in Fig. 2 has eight bars, and its corresponding permutation (2,6,4,1,5,3) has eight reverse pairs: (2,1), (6,4), (6,1), (6,5), (6,3), (4,1), (4,3) and (5,3), so the ladder lottery is optimal. In [5] we gave an algorithm to enumerate all optimal ladder lotteries of a given permutation π. The algorithm generates all optimal ladder lotteries of π in O(1) time for each. The idea of our algorithm in [5] is as follows. We first define a tree structure Tπ, called the family tree, among optimal ladder lotteries, in which each vertex of Tπ corresponds to each optimal ladder lottery and each edge of Tπ corresponds to a relation between two optimal ladder lotteries. Then we design an efficient algorithm to generate all child vertices
منابع مشابه
Efficient Enumeration of All Ladder Lotteries
A ladder lottery, known as “Amidakuji” in Japan, is a common way to choose one winner or to make an assignment randomly in Japan. Formally, a ladder lottery L of a permutation π = (x1, x2, . . . , xn) is a network with n vertical lines (lines for short) and many horizontal lines (bars for short) connecting two consecutive vertical lines. The top ends of lines correspond to π. See Fig. 1. Each n...
متن کاملEfficient enumeration of all ladder lotteries and its application
A ladder lottery, known as the “Amidakuji” in Japan, is a common way to choose a permutation randomly. A ladder lottery L corresponding to a given permutation π is optimal if L has the minimum number of horizontal-lines among ladder lotteries corresponding to π. In this paper we show that for any two optimal ladder lotteries L1 and L2 of a permutation, there exists a sequence of local modificat...
متن کاملEfficient Enumeration of Dominating Sets for Sparse Graphs
Dominating sets are fundamental graph structures. However, enumeration of dominating sets has not received much attention. This study aims to propose two efficient enumeration algorithms for sparse graphs. The first algorithm enumerates all the dominating sets for k-degenerate graphs in O (k) time per solution using O (n + m) space. Since planar graphs have a constant degeneracy, this algorithm...
متن کاملExplaining Heterogeneity in Risk Preferences Using a Finite Mixture Model
This paper studies the effect of the space (distance) between lotteries' outcomes on risk-taking behavior and the shape of estimated utility and probability weighting functions. Previously investigated experimental data shows a significant space effect in the gain domain. As compared to low spaced lotteries, high spaced lotteries are associated with higher risk aversion for high probabilities o...
متن کاملA remark on asymptotic enumeration of highest weights in tensor powers of a representation
We consider the semigroup $S$ of highest weights appearing in tensor powers $V^{otimes k}$ of a finite dimensional representation $V$ of a connected reductive group. We describe the cone generated by $S$ as the cone over the weight polytope of $V$ intersected with the positive Weyl chamber. From this we get a description for the asymptotic of the number of highest weights appearing in $V^{otime...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- IEICE Transactions
دوره 97-A شماره
صفحات -
تاریخ انتشار 2014